var myapp=angular.module("myapp",['ngRoute']);

	
	myapp.config(['$routeProvider', function($routeProvider){
                $routeProvider
                .when('/shouye',
                {templateUrl:'./shouye/shouye.html'})
 				.when('/supermarket',							
 				{templateUrl:'./supermarket/supermarket.html',
 				controller: 'marketCtrl'})
                .when('/order',
                {templateUrl:'./order/order.html'})
				.when('/shopCar',
				{templateUrl:'./shopCar/shopCar.html',
				controller: 'shopCarCtrl'})
                .when('/my',{templateUrl:'./my/my.html'})
                .otherwise({redirectTo:'/shouye'});
            }])
	
	

